package com.example.lte.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;


/**
 * @author lzh
 * @date 2020/10/30 - 15:23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RolePO {
    /**
     * 角色name
     */
    @NotBlank(message = "角色name不能为空")
    private String name;
    /**
     * 角色note
     */
    @NotBlank(message = "角色note不能为空")
    private String note;
}
